package com.scalar.forecast.commons;

/**
 * Contains the constant variables being used for Forecast
 *
 * Created by Veeru.
 * Date: Feb 8, 2005
 * Time: 12:13:34 PM
 */

public interface Constants {

    public static final int SERACH_RESULTS_PER_SCREEN = 10;


    public static final String ACTION_SAVE        = "save";
    public static final String ACTION_NEW         = "new";
    public static final String ACTION_MODIFY      = "modify";
    public static final String ACTION_VIEW        = "view";
    public static final String ACTION_SEARCH      = "search";
    public static final String ACTION_SHOW        = "show";
    public static final String ACTION_LIST        = "list";
    public static final String ACTION_EDIT        = "edit";
    public static final String ACTION_DELETE      = "delete";
    public static final String ACTION_MODIFY_LIST = "modifyList";
    public static final String ACTION_SAVE_LIST   = "saveList";
    public static final String ACTION_CONFIRM     = "confirm";
    public static final String ACTION_NEXTPAGE    = "nextPage";
    public static final String ACTION_LOAD_ODMS   = "loadOdms";
    public static final String ACTION_UPLOAD_VIEW = "uploadView";
    public static final String ACTION_UPLOAD      = "upload";
    public static final String ACTION_DOWNLOAD    = "download";

    public static final String ACTION_LOAD_LEVEL  = "loadLevel";
    public static final String ACTION_LOAD_SALES  = "loadSales";
    public static final String ACTION_LOAD        = "loadValues";

    public static final String ACTION_RELOAD_FORECAST_ENTRY_FIELDS = "reloadForecastEntryFields";
    public static final String ACTION_ADD_NEW_LEVEL                = "addNewLevel";
    public static final String ACTION_LOAD_VALUES                  = "loadValues";
    public static final String ACTION_RELOAD_TABLE_COLUMNS         = "reloadTableColumns";
    public static final String ACTION_SEARCH_BUILD                 = "searchBuild";
    public static final String ACTION_SEARCH_BUILD_LOAD_VALUES     = "searchBuildLoadValues";
    public static final String ACTION_BUILD_VIEW                   = "buildView";
    public static final String ACTION_EXPORT_TO_XLS                = "exportToXls";
    public static final String ACTION_CALCULATE_RUNNING_TOTALS     = "calculateRunningTotals";
    public static final String ACTION_LOAD_PROJECT_FORECAST_DETAILS = "loadProjectForecastDetails";

    public static final int YEAR_START = 2004;
    public static final int YEAR_END   = 2025;

    public static final String COLUMN_USERLIST1 = "UserList1";
    public static final String COLUMN_USERDATE1 = "UserDate1";
    public static final String COLUMN_USERTXT1  = "UserTxt1";
    public static final String COLUMN_USERTXT2  = "UserTxt2";

    public static final String PROJECT_SETUP_TABLE_NAME        = "PROJSETUP";
    public static final String FORECAST_USER_ENTRY_TABLE_NAME  = "FCUSERENTRY";
    public static final String FORECAST_ENTRY_SETUP_TABLE_NAME = "FCENTRYSETUP";
    public static final String FORECAST_TIMEFRAME_MONTH        = "Month";
    public static final String FORECAST_TIMEFRAME_QUARTER      = "Quarter";
    public static final String FORECAST_TIMEFRAME_YEAR         = "Year";
    public static final String FORECAST_IS_BUILD               = "isBuild";
    public static final String FORECAST_BUILD_NO_PREFIX        = "BFC-";
    public static final String NO_MODIFY_RIGHTS                = "You don't have permission to modify this screen";


    public static final String BUILD_MASTER_CAN_NOT_OVERRIDE_SALES_FORECAST = "Can't Override";
    public static final String BUILD_MASTER_CAN_OVERRIDE_SALES_FORECAST     = "Can Override";

    public static final String MANFACTURING_PART_NUMBERS = "Mfg Part Number";
    public static final String MARKETING_PART_NUMBERS    = "Mktg Part Number";

    public static final String STANDARD_PRICE = "Standard price";
    public static final String CUSTOMER_PRICE = "Customer price";

    public static final String MEASURE_TYPE_DAYS   = "Days";
    public static final String MEASURE_TYPE_WEEKS  = "Weeks";
    public static final String MEASURE_TYPE_MONTHS = "Months";

    public static final int BACKLOG_TYPE_OPEN       = 0;
    public static final int REQUESTED_DATE_CATEGORY = 0;
    public static final int SCHEDULED_DATE_CATEGORY = 1;

    public static final String FORECAST_SETUP_BY_CUSTOMER = "By Customer";
    public static final String FORECAST_SETUP_BY_PRODUCT  = "By Product";
    public static final String FORECAST_SETUP_BY_PROJECT  = "By Project";
    public static final String FORECAST_SETUP_BY_ODM      = "By ODM";

    public static final int USER_TYPE_SUPER_USER    = 0;
    public static final int USER_TYPE_VP_OF_SALES   = 1;
    public static final int USER_TYPE_SALES_PERSON  = 2;

    public static final int SALES_PERSON_LEVEL_ORDER = 1;
    public static final int VP_OF_SALES_LEVEL_ORDER = 2;

    public static final String FC_CYLCE_WEEKLY = "weekly";
    public static final String FC_CYLCE_MONTHLY = "monthly";
    public static final String FC_CYLCE_QUARTERLY = "quarterly";

}
